remove overcomplicated method for checking if erlenv is already
installed
refactor to use common attributes