[BUGFIX] Missing slash in path variable

"composer status -v" show always this message:
"Package is unstable. "ext_emconf.php" is missing"

The function getLocalChanges expects the path to the extension with a slash as the last character.

This patch ensures that the path variable alwas has slash as the last character in the path variable.
Merge pull request #2 from lars85/patch-1

[BUGFIX] Missing slash in path variable

* Ensure that the $path always ends with a slash