Fixed issues with Travis parsing invalid package.json