Do not deploy when GIT_NAME is not defined.

This should stop deployment when Travis is run on forks.
mock is out of action. That was a real headache to fix.