Add `path.resolve` call to normalise path when extracting app name - fixes #2