Gas tap?? I think thats a valve
We haven't Americanized Alan enough yet!
In British English, "gas tap" can be used to mean a valve like this one rather than a place where one actually taps the supply.
I noticed the opening above the panel as well. Could somebody have cut a length of gas pipe out and bridged it with the flexible to make room (such as it is) for the electrical panel?