text: Title: Importing static variable file with arguments does not fail
  Body: Static variable files, i.e. Python based variable files without the `get_variables` method, do not accept arguments. There is, however, no error and arguments are silently ignored. That's wrong, invalid syntax should cause an error.