Correct directory path stored in modules table.
refs #1042