LIB: Fix initial run failure if user doesn't have ~/.config folder

Ticket #563