lib/process: Add dry_run argument to process_init