Fix package creation when non-root