fixed regression in the Finder component (it was possible to use it without using exec before, closes #6357)