Fixed machine name validation