[OS-BUILD PATCHv3 3/5] redhat: Use a context manager in merge.py for opening the config file for reading