Check for corkboard env vars properly (requires adding 'env' arg).