Repository: Improved GetForEachRef

Removed unnecessary replace
Merge pull request #125 from marcelometal/improve_get_for_each_for

Repository: Improved GetForEachRef