Fixed logic for trying to execute phantomjs version

Simply just ignore the exception here