Why return the first environment? I would think that if no matching environments were found, we'd return something negative...false or undefined. Unless they dig into our codebase, they wouldn't know why it keeps coming back with local.