Fixed TISTUD-3097: UnsupportedOperationException when updating the npm packages.