'git release' fails if remotes other than 'origin' are configured

I'm not completely clear on the flow if some of the other flags are used but if you have a remote other than 'origin' configured and you checkout your integration branch and run 'git release' it fails without the modifications included here.