Makes sure the input path has no slashes at the beginning.
Path to check.
The potentially changed path.
Makes sure the input path has no slashes at the beginning.