Detect when options is empty in the parseEnv

Potential fix for: https://github.com/cloudhead/less.js/issues/1373

Just adding some checks around the options object