Merge pull request #15 from cyplenochek/master

fix test of $MASTER_HOSTNAME to prevent from exit from bash