The check that creates the message "Could not execute build: ..." comes from pyrpkg/__init__.py and there seems to be no good way to disable it other than patching that usage.
Second best thing we could do is to assume that the scratch builds are only run in PRs, which should be the current state of the zuul infrastructure, in which case we can get the source git url and branch to satisfy the check.
The check that creates the message "Could not execute build: ..." comes from
pyrpkg/__init__.pyand there seems to be no good way to disable it other than patching that usage.Second best thing we could do is to assume that the scratch builds are only run in PRs, which should be the current state of the zuul infrastructure, in which case we can get the source git url and branch to satisfy the check.