If the plugin parameter point to folder, browse to this folder.

Instead of stupidelycrashing.
Signed-off-by: Jean-Yves Tinevez <jean-yves.tinevez@pasteur.fr>