fixes the bug that package: "*" should build into /root/package/latest dir; fixes #10