fix dumprestore4.js: return a failure code if --collection specified without --db