source: fix rvm conditional loading