Bug in reset_base_dir fixed
Correct management of absolute pathnames