Instance files were deleted too early (causing an NPE at undeploy).
Fixed.