Fix tns init command
Fix tns init command

When tns init command is called in empty directory, there's no project data
and getting projectName from projectId is failing.

NativeScript/nativescript-cli,NathanaelA/nativescript-cli,tsvetie/nativescript-cli,tsvetie/nativescript-cli,NathanaelA/nativescript-cli,NativeScript/nativescript-cli,NativeScript/nativescript-cli,tsvetie/nativescript-cli,NathanaelA/nativescript-cli,tsvetie/nativescript-cli,NativeScript/nativescript-cli,NathanaelA/nativescript-cli,tsvetie/nativescript-cli