added try/catch in loop as it breaks in environments without

certain mappings
Merge pull request #311 from igal-getrailo/improve-009

added try/catch in loop as it breaks in environments without certain mappings