Electronic excitations of magnesium tetraphenylporphyrin in supersonic expansions