getProcessUsername() should check whether the username is empty or NULL.
Some user databases are apparently broken to that amount.
Set rvmsudo_secure_path=1 in Travis script.
Add code for debugging Travis problems.