Fix gevent error "AssertionError: Cannot shift. Nothing left from SCRIPT_NAME"
ref: https://github.com/defnull/bottle/issues/317