Made the upgrade ordering check ignore files that are just under the
package key in sql or upgrade directories. These are old upgrade files
(acs 3 -> acs 4, for instance) that don't follow the APM numbering
scheme (in many cases they were meant to be run manually).