This must be the house of an inspector.
I mean, who else would have a double recept above a light fitting?
Surely you'd send the flex into the roof and terminate it in a suitable box?

Oh and one other thing, Greg, do you have shingles on that roof?
Man, them nails look dangerous sticking through the plywood. frown