Derive $NUPIC from $PWD and $TRAVIS_REPO_SLUG as https://github.com/travis-ci/travis-build/pull/182 may not be deployed yet
Merge pull request #477 from oxtopus/fix-travis-builds

Derive $NUPIC from $PWD and $TRAVIS_REPO_SLUG