Support actually reusing prebuild packages in import build mode (build without '-f').