When reseting a package reset the associated flags