Small bugfix in readconfig

a . in the path is no longer an issue