Defensively handling job URIs from cloud controller.

Signed-off-by: Phan Le <ple@pivotallabs.com>
Auto-merge remote-tracking branch 'upstream/master'