Fix isUpToDate for sub packages
Merge pull request #336 from sinkuu/fix_subpkg_isuptodate

Fix isUpToDate for sub-packages