Fix formula directory listing in masterless template