Fixed problems with bundle startup in motech.