add support for package format version 2 as specified in REP 140