Do not deploy when GIT_NAME is not defined.

This should stop deployment when Travis is run on forks.
Environment needs to be explicitly cleared, or values from previous test cases will still be around.