a few fixes in mcollective-related code