We have a method that does this job already check `General.EnsureTrailingSlash` method