[COOK-4484] Replace strip_leading_dir attribute with more general strip_components