Snapshot/Restore: Add repository validation

Adds automatic and manual verification of repository settings and access rights.

Fixes #7096 

This pattern is common among other classes inherited from TransportResponse not just from ActionResponse. So, maybe we can start with moving this into an utility method.