Fix possible NullPointerException in Projects.fromLaunchConfiguration