Make sure a missing artifact results in a proper error and not an NPE (see ceylon/ceylon-compiler#1821)