String tag = getId();
String treeHash = _repositorySpi.getTagContentHash(tag);
Path archivePath = getArchivePath();
if (treeHash != null && archivePath != null && archivePath.canRead()) {
throw new ConfigException(L.l("{0} cannot be deployed from both an archive {1} and cluster deployment.",
this, archivePath.getNativePath()));
}
if (treeHash == null) {