improvement of the help message
fixed probing if provided target path ends with a '/'