tools/dockerfiles: Prevent images push to registry when rebuilding a MR
When rebuilding a merge request for the swh-jenkins-dockerfiles
repository
by manually triggering the job from the jenkins UI, the built images were
pushed on the swh container registry but it should only happen when pushing
a commit to the master branch.
Edited by Antoine Lambert