check if the work directory exists before executing commands

erlbrew list and erlbrew use would fail unfriendly-like if the erlbrew work directory didn't exist