adjust delete-obsolete-builds to match real world requirements