Simplify code in get_config()

Exact same behavior. The reference was just redundant.