You could but that might cause problem if datagrepper is deployed outside of the Fedora infrastructure.
Plus we have pre-production machine (see https://apps.stg.fedoraproject.org/datagrepper) where this construct won't work.