afaict `getMavenRepository` already checks `isMavenRepositorySupported`, so this test could be omitted