fix if ralph_id is None
hell yeah!
change in models
Merge pull request #9 from wmatyskiewicz/api

fix if ralph_id is None