Fix bug #35. prepare command now works fine with TARGET_BRANCH defined.
Merge pull request #42 from xystushi/master

Merge pull request #42 from xystushi/master: Fix bug #35.