Use current directory as fallback application directory

With this more sane paths are generated, e.g. ./resources/foo instead
of /resources/foo