Fix usage of wrong variable in repository manager.

In some lines the variable `$e` instead of `$ext` is used in the repository manager.
At a result, status messages will not displayed correctly.
The extension will be displayed as "clean", even its marked as "broken".