Add a mock for MakeDir to support macOS platform
Add a mock for MakeDir to support macOS platform

We saw the following on macOS and this mock patch solves it:

`[Errno 13] Permission denied: '/usr/local/gpdb/share/package`

Signed-off-by: C.J. Jameson <ec1b14366327ff10b752f9848cd5b8311e885007@pivotal.io>

jmcatamney/gpdb,ashwinstar/gpdb,edespino/gpdb,greenplum-db/gpdb,Chibin/gpdb,edespino/gpdb,ashwinstar/gpdb,Quikling/gpdb,greenplum-db/gpdb,xinzweb/gpdb,ashwinstar/gpdb,Chibin/gpdb,edespino/gpdb,greenplum-db/gpdb,yuanzhao/gpdb,yuanzhao/gpdb,adam8157/gpdb,adam8157/gpdb,Quikling/gpdb,lisakowen/gpdb,adam8157/gpdb,edespino/gpdb,adam8157/gpdb,Chibin/gpdb,janebeckman/gpdb,lisakowen/gpdb,Chibin/gpdb,edespino/gpdb,janebeckman/gpdb,Quikling/gpdb,greenplum-db/gpdb,janebeckman/gpdb,yuanzhao/gpdb,edespino/gpdb,xinzweb/gpdb,yuanzhao/gpdb,adam8157/gpdb,cjcjameson/gpdb,cjcjameson/gpdb,greenplum-db/gpdb,Chibin/gpdb,kaknikhil/gpdb,lisakowen/gpdb,janebeckman/gpdb,kaknikhil/gpdb,kaknikhil/gpdb,kaknikhil/gpdb,greenplum-db/gpdb,Quikling/gpdb,Chibin/gpdb,greenplum-db/gpdb,jmcatamney/gpdb,kaknikhil/gpdb,50wu/gpdb,ashwinstar/gpdb,xinzweb/gpdb,kaknikhil/gpdb,50wu/gpdb,kaknikhil/gpdb,ashwinstar/gpdb,janebeckman/gpdb,Chibin/gpdb,xinzweb/gpdb,yuanzhao/gpdb,kaknikhil/gpdb,janebeckman/gpdb,jmcatamney/gpdb,janebeckman/gpdb,Quikling/gpdb,xinzweb/gpdb,50wu/gpdb,50wu/gpdb,lisakowen/gpdb,Chibin/gpdb,lisakowen/gpdb,kaknikhil/gpdb,jmcatamney/gpdb,xinzweb/gpdb,adam8157/gpdb,xinzweb/gpdb,adam8157/gpdb,kaknikhil/gpdb,jmcatamney/gpdb,yuanzhao/gpdb,yuanzhao/gpdb,ashwinstar/gpdb,cjcjameson/gpdb,50wu/gpdb,cjcjameson/gpdb,janebeckman/gpdb,Quikling/gpdb,50wu/gpdb,cjcjameson/gpdb,ashwinstar/gpdb,Chibin/gpdb,cjcjameson/gpdb,yuanzhao/gpdb,jmcatamney/gpdb,50wu/gpdb,edespino/gpdb,adam8157/gpdb,cjcjameson/gpdb,jmcatamney/gpdb,Quikling/gpdb,janebeckman/gpdb,janebeckman/gpdb,cjcjameson/gpdb,jmcatamney/gpdb,yuanzhao/gpdb,lisakowen/gpdb,Quikling/gpdb,edespino/gpdb,50wu/gpdb,cjcjameson/gpdb,cjcjameson/gpdb,lisakowen/gpdb,greenplum-db/gpdb,yuanzhao/gpdb,Quikling/gpdb,Chibin/gpdb,edespino/gpdb,ashwinstar/gpdb,lisakowen/gpdb,xinzweb/gpdb,Quikling/gpdb,edespino/gpdb