CLOUDIFY-1768 fixed checkstyle in new and old cli classes