comment out failing check.

I don't care if this is broken for now.
Strip out the Repo class.

It's not needed.
add more checks for source information.
invalid options are ignored. no need to check.
create method to get local_path of file.