Done in https://github.com/ckan/ckan/commit/a153f1d8ee0e3f10907b8edc368cf6636232d312