If a package in the repository is missing its 'version' field, try to guess the version from the package definition's filename.