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

This fixes "go test" for main packages.
Merge pull request #186 from pcc/libgo-main

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