Close GH-635: Infer package name if inside a package for the home cmd.