Fixed NPE in MavenResourceImpl