[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.