only check -e $configfile if it's defined
test without --configfile and $HOME