Fixed managesieve.js
It seems that rcmail.env.action can be null (not sure if that is a problem or not)