Handling issue with prepublish hook on Travis CI.