Fixed NullReferenceException when requests are unsuccessful and no reque...

...st configuration is setup

Fixes #658