PHP inproperly identifies the "current path (.)" in phar (despite outside of the phar it uses getcwd() value, in phar it uses phar-root value).
Fixed using realpath() when processing path to config.yml.
loadConfigFile() rewritten to don't use pathinfo() and realpath() (simplification).