Expand repository source and checkout subdirectory to allow environment/build parameters to work (required for inheritance plug-in).
Merge pull request #60 from Scraft/envvars-expand

Expand repository source and checkout subdirectory