Check empty source when adding claim

I can't branch this from a master as this branch is based on another branch that renamed folder names of spec.