This is strange since login event does run in user context.

%userprofile% isn't available during logout event.

Bad but can't do anything about it... it's just of little use because of that.