added isset check for $url_info['path'] - fixes error issue if empty

Signed-off-by:shawnsandy <shawnsandy04@gmail.com>