Fix directory navigation on package creation.