fix broken osd subcommand with invalid attribute

the logger was incorrectly slapped directly onto the distro object.

It also fixes a possible breakage with remoto.