Handle cases when PATH_INFO is nil or blank

Ran into this issue when running the split dashboard
(github.com/andrew/split) and the issue was when PATH_INFO was set to
nil or blank.