Move prefix path creation, uid checking, until after load

See npm/npm#5459
v1.0.4