Use locations as deposit source dirs.

refs #5980

Added a way to optionally use locations as desposit source directories.