Don't fall through to enforceArtifactResolution if useClassesFromLastBui...

...ld is set