fixing listing bug for items in hosted repositories.