[fix] Only set recursive to false when we don't supply it a directory