Addressed locally as follows:
```diff
-            if isJust $
-               InstallDirs.parseTemplate privateBinDirTemplate target'
+            let target'MatchesTemplate =
+                  isJust $ InstallDirs.parseTemplate
+                         privateBinDirTemplate
+                         target'
+            if target'MatchesTemplate
```