PR 56849 - don't even try to create a classpath without a project component