Fix to work with newer versions of jenkinsapi where get_build_triggerurl returns tuple instead of string