/usr/share/bash-completion/completions/genpkgmetadata.py is in createrepo 0.10.3-1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/share/bash-completion/completions/createrepo
/usr/share/bash-completion/completions/createrepo