PackageCompiler.compile_incremental Error: Package name not found in current manifest

As part of my attempt to get a handle on compile/load time, I’m trying to build a number of commonly used packages into my system image. Many of them fail with the following sort of error:

julia> PackageCompiler.compile_incremental(:OffsetArrays)
[ Info: activating new environment at /opt/julia-1.1.0/pkg/packages/PackageCompiler/osIMW/packages/OffsetArrays/Project.toml.
...
ERROR: LoadError: LoadError: Package CatIndices not found in current manifest
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] package_uuid(::SubString{String}, ::Dict{String,Any}) at /opt/julia-1.1.0/pkg/packages/PackageCompiler/osIMW/src/pkg.jl:17 (repeats 2 times)

Now I can go and manually add the missing package, do a compile_incremental on it, and then re-run the command, and it will succeed. But it’s quite tedious to have to repeat this for a large number of packages. I’m wondering if there’s a better way.