Check for directory common before trying to delete it.