#1196 py3: Fix location handling

Merged Dmitry Volodin requested to merge noc-1196 into master

Merge request reports