Bug 956208 - [Gaia][Build] add gaiaDir variable in getPid function