Export-BcpDatabase fails with "The given key was not present in the dictionary" when FolderPath doesn't end on /
Description
When FolderPath doesn't end with a / (slash), Export-BcpDatabase fails with
"Export-BcpDatabase : The given key was not present in the dictionary."
Cause
This happens if any path in Folders.FolderPath doesn't end on a slash
Solution
Make sure all of your folder paths end on a slash