localrc: Define CFGDIR outside of if-clause