better fix for postinstall

shell.cd() was causing problems with the bower install