Generated codenames must be unique

* Removes check and warning for duplicate source directories (since that can no
longer happen)
* Refactor logged_in key pop and comment it with TODO

This should be merged into both develop and release/0.3.

Fixes #445