[cli] check_duplicate_keys need to evaluate the yaml as erb before checking