Don't push updates if on an ignored branch

At the moment, if the `ignore_branch` option is set to `true` the user will be notified that they're on the ignored branch, but the push method will continue executing regardless.