Do not show "Open" or "Open with" context menu entries for folders

libgit2 also outputs folders on checkout callback.

Signed-off-by: Sven Strickroth <email@cs-ware.de>