fixes #425 moves srandom before chroot

UNTESTED Fix for #425