Improved customization_path task (issue #2376)