Check that the user-provided options to the `--stage` argument are valid before proceeding with the pipeline.