Otherwise we end up using wrong uid/gid mappings when doing install to alternate system root. Fixes #434.