Fix handling of SRPMs in Content Generator builds when SRPM name and main package name are different.