resolved out of memory issue when validating big repositories, see
WOLF-58
fix NPE