NPE fixed, see https://github.com/sbt/sbt/issues/1655, https://youtrack.jetbrains.com/issue/SCL-8061