LPS-37575 - Fixed NullPointerException thrown in the scanDirectory
method of AutoDeployDir.java.
LPS-37575 prevent exceptions from killing thread
LPS-37575 SF