Update layermapping.py

because "m" (~ line 554) may have been created via a variety of ways, it appears that in some cases it may not have the "using" keyword as an argument (perhaps not created correctly as a Model object?).  (I've seen this problem repeatedly on batch imports)