fix when request_path is nil
Merge pull request #2 from ciscou/master

fix when request_path is nil