install/dependency/dependency_redhat.py: Attempting fix for "SyntaxError: \'return\' with argument inside of generator"