MSP-11153 realpath is not used in the actual code anymore because it doesn't work for non-existent paths.
MSP-11153 Test the following paths in order and only return them if the path exists: 1. MSF_DATABASE_CONFIG environment variable 2. ~/.msf4/database.yml 3. <project>/config/database.yml