[tycho/f17] Ignore defined environments in local mode.