handle the case where the user asks to restrict to target regions, but there are no target regions defined on the build. Cleaned up input validation section