Added defensive code to avoid leaving broken packages

Using silentRoot