Only define remainder when not empty

I had an issue using a post method on a /path/ since get_args will set
me up with a first empty argument of an empty string and eat my first
argument with it.

Change-Id: Ieb2f192127c1fca430f1376e5bdb2be863fe6920