Fix issue with app in ModuleAutoDiscoveryRegistry

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Merge pull request #18 from jirikuncar/autodiscovery-app-fix

Fix issue with app in ModuleAutoDiscoveryRegistry