Fixes #6695: Adding two OS parameters with same name should raise an error

When using the fixture `hostgroups(:common)` there were more hosts with the same parameter.
It made more sense to me to check if one of them was the host we are looking for.
If someone thinks this is wrong I'll make another fixture for use of the two tests I edited