How about something like this:
StringUtils.isBlank(customRemoteFSRoot) ? "jenkins" : customRemoteFSRoot.trim()