bugfix for checking config-dir is absolute