fixed bug in init if project wasn't npm based