Set default locationPath if not defined