Checking that we actually have a reply before we check its attributes
Also removed the assert dependency