whitespace
add explicit check for an undefined locusdir