There's your answer then. Because it's pulling a local file from that location - which is essentially an override to the PAK version - the local main is no longer standard. It doesn't know or care that the local file you've created is exactly the same as the PAK version.