improving Reol.findByPath by making it iterative rather than recursive - fixes #2