if (!Array.isArray(repository.exclude_tags)) {
                    if (!_.isEmpty(repository.exclude_tags)) {
                        repository["exclude_tags"] = repository.exclude_tags.split(",").map(function(tag) {
                            return tag.trim();
                        });