Have GoPackageFromPath return error if it's not a Go package.