Fix Release is not updated when a package is deleted bug