fixed pre-commit script

Apparently, Symfony\Component\Finder\Iterator\FilePathIterator expects full paths.
It derives the relative paths from these absolute paths.
We already have the relative paths and just need the full paths, which is simply $baseDir . $relativePath