validation of --base-path only directories.