Fixed running nightly builds on non-trunk branches

-Note: Add in the poller property to the codebases dictionary (i.e HgPoller)