Remove the package_name to support older versions of thor. Don't really need it anyway
Don't bother doing anything if we're not in a git repository. Slight refactor