only filter versions if VERSIONS_BASEDIR is not set, fixed #191