Fix empty Phi file
Add check for empty slices defintion file
Change submit directory for local test jobs