Avoid to call get_cached() from VirtualResource object

Fix #298