[backend] fix publishedpath query for arch packages