added function to verify if a project exist
changed get version to verify is a project exist before trying to get versions