LPS-37575 - Fixed NullPointerException thrown in the scanDirectory
method of AutoDeployDir.java.