Fixed the problem with nodejs naming on systems with nodejs binary name

On Ubuntu the node binary is called nodejs, when installed from packages. This causes wrong argument to be deleted from the list. This fixes it by reliably comparing execPath to both basename and full path of the cli.app.