Add support for isPatch
Fix bug when package time is missing.

Has happened in production, some npm package didn’t have a time object.
Minor prettyfying.