Do not deploy when GIT_NAME is not defined.

This should stop deployment when Travis is run on forks.
I don't understand. Adding a "or" in the spec will not change any behavior...