Rewrote the `getArtifact()` method using the new `RepositoryManager.getArtifactResults()` method (see ceylon/ceylon-module-resolver#389)