Remove unnecessary realpath

MSP-11153

Causes errors on machines that don't have ~/.msf4 like travis-ci.
Remove unnecessary return

MSP-11153

Leftover from earlier design.