Convert envSeries attribute in the charmbrowser to a callable to be able to fetch the currently set default env type