Handle cases when PATH_INFO is nil or blank

According to the Rack Spec (http://rack.rubyforge.org/doc/SPEC.html)
PATH_INFO can be an empty string