`return path unless params || path`?

If you don't like it, leave it as is. :)