[tools] Fix purchase '-y' option handling.

- Print out details first.
- Return properly before confirmation prompts.