Fix for cdrom device detection in vSphere CPI. The strip method will remove the problematic newline.