main: use the correct command class when loading commit messages

Signed-off-by: David Aguilar <davvid@gmail.com>