Fix branch name decoding error

The error would result in the branch name being returned as 'undefined'.
Fix #40.
Display a message upon successful push to remote