devs: avoid segfault if dynamics is not found

If a vpz::Dynamic is not found in vpz::Dynamics, an exception is thrown
and a segfault occurred when deleting the cloned values. We fix the
problem by moving the access to the vpz::Dynamic.