Set new pathname basedir in case extraction_directory has not
been set