updated to handle empty :path-info

Added a check to ensure that the resulting path for the `:path-info` key is not empty. The only time this should occur is when the uri is the same as the context path for the servlet.
Remember this is being injected into a new source file, so it can't reference functions in the plugin's namespace.