Fix some small bugs in puavo-update-ltspimage.