Improperly stubbed, fix on stubbing for env_git_branch test