fix for branch specifier that is not of String type
now just skipping such projects instead of raising exception (JENKINS-24232)