Rails3: scm: filesystem: fix error of ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection in functional test