I think there could be benefit in having a better error message here. Something like "Error resolving the core location file 'xxxx' - Environment variable %s does not exist!" or something. What do you think?