Fixes the problem
Fixing the order
Merge pull request #14068 from nmadhok/fix-file-makedirs-function

Adding a trailing slash after path if not present when using salt.modules.file.makedirs