use a block to reuse the environment check
move the environment excluded message to Configuration class
merge in changes from latest master
Merge pull request #149 from cobyism/dry-early-env-skip

DRY up the skipping of excluded environments