knotserver: add path-traversal check to NewRepo
this will come in handy when we create repos from firehose records.
authored by oppi.li and committed by Tangled 10 months ago bea52ff5 e705ed86