apply flags overrides in cookObject (the lowest level), remove duplicate code
apply flags overrides in cookObject (the lowest level), remove duplicate code

fedora-conary/conary,fedora-conary/conary,fedora-conary/conary,fedora-conary/conary,fedora-conary/conary