Will compare default in spadesOptions to getPaths ... these will be same if use has not set them. For such case, use ".". They will be different if the user has used setPaths. If that is the case, then use getPaths()[["modulePath"]]

checkModulePath()