Change the grep to be more specific because otherwise it is possible that a wrong zone will be shown per grep
For example:
Find input: system.example.com
Available hosted zones:
- staging-system.example.com
- system.example.com
Without this change it is possible that staging-system.example.com
will be selected instead of the correct one