fixes bug, where config returned but package was not yet installed