Fixes #5114: Handle trailing slash in directory names when getting
techniques
Merge pull request #75 from VinceMacBuche/bug_5114/ncf_path_technique_with_slash

Fixes #5114: Handle trailing slash in directory names when getting techniques