Return undefined if environment not defined