[Fix] URL generator using absolute path. Fixes #761.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>