How can i exclude rendering an enviroment texture in cycles but keeping all the other settings?
Finally what it worked was:


Unchecking the 'Transparent' option before anything
Checking 'Use Enviroment' at the Scene Tab
Most importantly, in the World Tab, uncheck 'Camera'


So with those options the objects will be affected with the background but the background itself will not appear as part of the render.