Fix searching for product when creating repository

Addressing:

    NoMethodError: undefined method `editable?' for nil:NilClass