Log failures in isMavenVersionValid but do not block other activities

See [JENKINS-10860](https://issues.jenkins-ci.org/browse/JENKINS-10860). Arguably does not count as a full fix, since it does not address the root causes of the exceptions, but at least prevents them from breaking everything.