[CID-1250669] - Prevent NPE when moving an empty folder

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>