[BZ-1099767] return a null in legacy api when trying to get a non-existing entry point