Updates for com_joomlaupdate

This fixes issues raised in #5308
Michael... I had experimented with that and I found it broken (but I might be wrong). I have more thoroughly commented on another thread that @zero-24 closed. I'm going to copy-paste from there as comment here below...  Please just hold on a second...