Refactor the manifest to be more DRY

Clean up and re-arrange the manifest creation to automatically check for PR existence, and verify the user has github configured.