Use mtime of pkg in cache to ensure they are never out of sync