Fix error when "job create" is called with "--open-browser".

Reviewed at https://reviews.apache.org/r/27084/