fix delete-study-by-path option for CLI