Fixed uncatched SRM_FAILURE during PROPFIND

If directory entry does not exist, getStatus()
method fails throwing a NullPointerException. Added the necessary
checks.