Fixes possible issue preventing compilation when missing package.json