This will throw a JSONException, if hasCustomRemoteFSRoot.getString("customRemoteFSRoot") == null. How about following:
```java
this.customRemoteFSRoot =
       (hasCustomRemoteFSRoot == null ||
         !hasCustomRemoteFSRoot.has("customRemoteFSRoot") ||
         StringUtils.isBlank(hasCustomRemoteFSRoot.getString("customRemoteFSRoot")))
         ? null : hasCustomRemoteFSRoot.getString("customRemoteFSRoot");
```

Or something better ?