}
} catch (final RepositoryException re) {
logger.debug("Error while trying to get node at " + path, re);
} finally {
if ( session != null ) {
session.logout();
}
}
if ( !this.dirty ) {
synchronized ( this.usedResources ) {
this.usedResources.add(path);