Corrected the Ubuntu identification logic after testing on an actual Ubuntu box.