Defensively handling job URIs from cloud controller.

Signed-off-by: Phan Le <ple@pivotallabs.com>