correct fix for pyflakes
check if valid base dir on 'buildslave upgrade-slave'

Check if we got a valid slave base dir on 'buildslave upgrade-slave'
cli command. If not, print error message and exit.
Merge branch 'upgrade-slave-chk-basedir' of git://github.com/elmirjagudin/buildbot