I always understood it to be "the long way round" as in "around the houses". The Wrekin is quite a large hill (not a mountain) and it would take longer to walk all around it than it would over it. The saying also refers to someone taking too long to explain something, rather than get to the point.