Get a clean Basedir