Clean up repo. dir. handling (and stuff).

Clean trailing slashes from package information and repository directory paths.
Deal with arbitrarily placed repositories (regarding its path).
Follow symbolic links when scanning the repo. dir.
Print error and bail out if repo. dir. is not existing or not a directory.