Correct a potential NPE in renaming a chest.
Correct an NPE when Vault is not installed