Fix path so that detection of existing webapp instances works