Fix NoMethodError when gem config files does not exist