Bug 1046694 - fix AttributeError in marionette tests. r=mgerva