[releng] Issue #8073: Re-write scripts/branching/modulepkg.py with help of libmodulemd