Fixed a bug. 
should be called only when DP is null.
Merge pull request #1309 from kaltura/IX-9.17.0-url-managers

Fixed a bug.