Added a new check to verify if the asset path starts with the origin_dir config