CB-6211 [CLI] 'cordova info' command fixed

Reference to JIRA issue CB-6211, the cordova info command it doesn't
work.
Cause by:  Carriage return or new line.

Fixed removing that carriage return from the var 'type'.