fix CommandResult.result access
throw assertion error in @command if cmd is None (so we get stack trace)
fix yum_clean_metadata