Correct LRS.retrieveStatement environment detection
Build + doc