Fix an issue with "'NoneType' object has no attribute 'status_code'"
Fix an issue with "'NoneType' object has no attribute 'status_code'"

platformio/platformio-core,platformio/platformio,platformio/platformio-core