This merge request add a helper property to retrieve the environment requested for the database
Part of beat.core#64