catch (final ItemNotFoundException e) {
// fall through
}
// give away the lock on artifacts.xml as we will regenerate it
itemLock.unlock();
try {
// we need to get new file, so update the lock
repoLock.lock(Action.delete);
// recheck the condition now that we have an exclusive lock
try {