Merge pull request #1161 from jmaas/release24

Add a _validate_ks_template_path function in remote.py.