Workflows consolidated fixes classifier

Rebased pull request from @GiorgosPa

This can be moved down after the comment. Probably one of the last imports (following the principle of (1) stdlib (os, sys), (2) invenio absolute imports (3) relative imports.