public constructor

also avoid NPE
diff --git a/taverna-cwl-activity-ui/src/main/java/org/apache/taverna/cwl/ui/serviceprovider/CwlServiceProvider.java b/taverna-cwl-activity-ui/src/main/java/org/apache/taverna/cwl/ui/serviceprovider/CwlServiceProvider.java
index a1e2561..77b89bd 100644
--- a/taverna-cwl-activity-ui/src/main/java/org/apache/taverna/cwl/ui/serviceprovider/CwlServiceProvider.java
+++ b/taverna-cwl-activity-ui/src/main/java/org/apache/taverna/cwl/ui/serviceprovider/CwlServiceProvider.java
@@ -56,7 +56,7 @@
 	public static final String COMMONWL = "commonwl/";
 	private static Logger logger = Logger.getLogger(CwlServiceProvider.class);
 
-	CwlServiceProvider() {
+	public CwlServiceProvider() {
 		// FIXME
 		super(getDefaultConfiguration());
 	}
@@ -136,7 +136,7 @@
 	private List<Path> getPath() {
 		String userInput = getConfiguration().getJsonAsObjectNode().get("path").asText();
 		// If user haven't provided a PATH 
-		if (userInput.isEmpty()||userInput==null) {
+		if (userInput==null || userInput.isEmpty()) {
 			List<Path> defaultPaths = new ArrayList<>();
 			addPath(defaultPaths, DEFAULT_PATH_1, null);
 			addPath(defaultPaths, DEFAULT_PATH_2, null);