Add null checks in Files.isDirectory() and fixed null pointer in geonet aligner
Merge branch 'develop' of github.com:geonetwork/core-geonetwork into develop