Fixes generated path for VSO, and launch url for kudu.

This should be handled by Uri class instead of doing your own string parsing.