Fixed: error occurs when ~/.config does not exists; bug reported by @mindcat