// Ignore breakdown case if '/'
if (pathElements.length > 1 || pathElements[0].length() > 0) {
for (String element : pathElements) {
log.trace("Found element {}", element);
if (currentItem instanceof RepositoryDirectory) {
RepositoryDirectory currentDirectory = (RepositoryDirectory) currentItem;
currentItem = currentDirectory.getChild(element);
if( currentItem == null ) {
log.error("Could not find item {} in element {}", element, currentDirectory);
return null;
}