Looks like your forks are extended.
That hard line should route back to the wire "hook" on your fender just behind the forks. There was also a rubber grommet on the fitting between "Hook" and flex line fitting end.
Looks like a hack, as the flex line should have been replaced with longer when the extended forks were put on. Instead they just bent the hard line up.
Beware. The constant flexing of the hard line will eventually work harden the metal and it will crack. Probably just when you need maximum braking effort.
Were I a safety inspector, I'd flag that as a must fix.
Cheers,