Quick fix for crash saving a page with images and no network

https://ticket.wikimedia.org/otrs/index.pl?Action=AgentZoom&TicketID=7604901

Bug: 66601
Change-Id: I6bfb369f1653baada71c035a2f0e1b1d4123bce6