fix for backup empty dirs

Signed-off-by: Thiago Rondon <thiago.rondon@gmail.com>