LPS-47051 the sourcePrototypeLayout may not exist if it has been deleted...

... from the site template.