Use the supplied package path even if the package name is "main"

This fixes "go test" for main packages.