Before delete directory, check path (closes #55)