[fix] Use correct paths in API ForeignKey