I had this problem because the changes were not pushed. I deleted the extra (not pushed) file and the error went away.