Cleanup: Remove intermediate _retrieve_placeables function

This way it is easier to understand the code.