Making the check if the configfile exists more robust #GIT-1