Fix TypeError in driver when multiple globs are used
Simple fix for detecting rails 4 apps