[CB-3497] Fix create script for Linux/OSX

- NPM install will return error code 0 if run successfuly

Reviewed by Hasan Ahmad <haahmad@blackberry.com>