More pythonic approach to config default