Fix TISTUD-6421 Importing general project from existing folder throws Java.lang.NullPointerException
  - Add null guards related to project location.