set_a_declaration: lock SupplierFramework row, only fetch Framework if we're actually going to use it
set_a_declaration: lock SupplierFramework row, only fetch Framework if we're actually going to use it

this change should make zero difference to the behaviour - even the 404s
should all work out the same

alphagov/digitalmarketplace-api,alphagov/digitalmarketplace-api,alphagov/digitalmarketplace-api