Endi has suggested to move the script and to tweak the file name
matching algorithms a bit.
Move internal helper and its configuration out of the project's root
directory into scripts/. Also use re instead of fnmatch to find the
upgrade scriptlets.
Christian