Avoid a harmless stack trace at undeploy