If Request::$current is not an object, doesn't try to replace url