Fixes related to npm package publication
Changes done in this MR fix a problem when given package already exists in target repository. Often happens when pipeline runs once again while testing the same commit merged into some protected branch (i.e. develop).