Can you provide some screenshots. It is not possible that you selected “No agent” but it shows at a “cmk -D hostname” the configuration “No Checkmk agent, all configured special agents”.
This is no bug as i checked on a p17 system with the result that it shows “No agent” if you selected “No agent” for the host.