Better initialize the var before the if, and use it in the if condition
Merge pull request #1349 from kaltura/IX-9.17.0-url-managers

Ix 9.17.0 url managers