Some fixes for goutil.SrcDir