fix issue where packages are listed in a status file but listed as not-installed