Fix for MANAGER_URL == '/' (issues/9282)

http://tracker.modx.com/issues/9282