Smart-http: check if repository is OK to export before serving it