Fix handling of missing --direct-url when set_build_description called
outside of jenkins job